Skip to content

Conversation

@aztice
Copy link
Contributor

@aztice aztice commented Oct 11, 2025

PR Category

User Experience

PR Types

New features

Description

ctc_loss 添加 zero_infinity 参数

@paddle-bot
Copy link

paddle-bot bot commented Oct 11, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Oct 11, 2025
@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

/re-run all-failed

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Oct 11, 2025
@luotao1 luotao1 self-assigned this Oct 11, 2025
@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

/re-run all-failed

@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

Assert Diff Coverage
no data found
Assert Python Diff Coverage
expected >= 90.0 %, actual 50.0 %, failed
The title does not start with cinn or typing or codestyle or fluid_ops or 3.13
9
Coverage check failed, unit tests have all passed, please do not rerun, check whether the newly added code lines are fully covered by unit tests. If you have any questions, please contact XieYunshen.

看起来 CI 似乎是可以忽略的

@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

/re-run all-failed

@aztice aztice changed the title feat: ctc_loss.zero_infinity fluid_ops/feat: support zero_infinity in ctc_loss Oct 13, 2025
@aztice
Copy link
Contributor Author

aztice commented Oct 13, 2025

/re-run all-failed

@aztice
Copy link
Contributor Author

aztice commented Oct 13, 2025

@XiaoguangHu01
@SigureMo
两位Reviewer可以帮我review下吗,CI需要

@codecov-commenter
Copy link

codecov-commenter commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@f556d04). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #75742   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?         4           
  Branches           ?         0           
===========================================
  Hits               ?         4           
  Misses             ?         0           
  Partials           ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zxcd
Copy link
Contributor

zxcd commented Oct 14, 2025

add new parameter also need to add it to test to pass Coverage CI.

@aztice
Copy link
Contributor Author

aztice commented Oct 15, 2025

/re-run all-failed

@aztice aztice requested a review from zxcd October 15, 2025 08:59
Copy link
Contributor

@zxcd zxcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aztice aztice requested review from SigureMo and jeff41404 October 30, 2025 12:49
Refactor code for better readability by adjusting line breaks and formatting in test_warpctc_op.py.
Replaced the use of self.seed with a fixed seed value for consistency in tests.
Refactored test to use paddle.enable_static() and removed context manager for static graph.
@aztice
Copy link
Contributor Author

aztice commented Oct 30, 2025

/re-run all-failed

@aztice
Copy link
Contributor Author

aztice commented Oct 31, 2025

/re-run all-failed

@aztice aztice requested a review from SigureMo October 31, 2025 03:42
@SigureMo SigureMo merged commit 8036231 into PaddlePaddle:develop Oct 31, 2025
102 of 106 checks passed
@aztice aztice deleted the 1e30 branch October 31, 2025 09:24
@SigureMo
Copy link
Member

我刚刚没注意,CTCLoss 的实现有问题吧?为什么新增参数 zero_infinity 是作为 forward 输入?torch 是 __init__ 的输入吧???

@aztice
Copy link
Contributor Author

aztice commented Oct 31, 2025

我刚刚没注意,CTCLoss 的实现有问题吧?为什么新增参数 zero_infinity 是作为 forward 输入?torch 是 __init__ 的输入吧???

稍等我看看

@aztice
Copy link
Contributor Author

aztice commented Oct 31, 2025

我刚刚没注意,CTCLoss 的实现有问题吧?为什么新增参数 zero_infinity 是作为 forward 输入?torch 是 __init__ 的输入吧???

确认了下,稍等我开个新PR改下,forward 以及 __init__ 均支持输入。

@aztice
Copy link
Contributor Author

aztice commented Oct 31, 2025

@SigureMo #76156
转这里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants